<template>
<div style="height:44px">
  <div class="m-footer">
    <div class="l-icons">
      <van-tabbar>
        <van-tabbar-item dot>
          <span>客服</span>
          <template #icon="props">
            <!-- <img :src="props.active ? icon.active : icon.inactive" /> -->
            <i class="iconfont">&#xe62d;</i>
          </template>
        </van-tabbar-item>
        <van-tabbar-item>
          <span>收藏</span>
          <template #icon="props">
            <!-- <img :src="props.active ? icon.active : icon.inactive" /> -->
            <i class="iconfont">&#xeca1;</i>
          </template>
        </van-tabbar-item>
        <van-tabbar-item>
          <span>店铺</span>
          <template #icon="props">
            <!-- <img :src="props.active ? icon.active : icon.inactive" /> -->
            <i class="iconfont">&#xe895;</i>
          </template>
        </van-tabbar-item>
        <!-- <van-tabbar-item icon="home-o">标签</van-tabbar-item> -->
      </van-tabbar>
    </div>
    <div class="r-button">
      <div class="buy-btn">加入购物车</div>
      <div class="booking-btn">立即预订</div>
    </div>
  </div>
  </div>
</template>

<script>
import { ref } from "vue";
export default {
  setup() {
   
    return {
   
    };
  },
};
</script>
<style scoped>
.m-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  height: 52px;
  font-size: 11px;
  border-top: 1px solid #eee;
  background: #fff;
}

.l-icons {
  width: 40%;
}
.van-tabbar--fixed {
  position: static !important;
}
.r-button {
  display: flex;
  font-size: 14px;
  color: #fff;
  width: 60%;
  justify-content: space-between;
  padding: 0 5px;
  align-items: center;
}
.buy-btn {
  background: #ffb10a;
  height: 44px;
  flex: 1;
  margin-right: 10px;
  border-radius: 5px;
  text-align: center;
  line-height: 44px;
  font-weight: 600;
}
.booking-btn {
  background: #ff7e34;
  height: 44px;
  flex: 1;
  border-radius: 5px;
  line-height: 44px;
  text-align: center;
}
</style>
